package com.ruoyi.worklog.service;

import com.ruoyi.worklog.domain.WlLeaderMember;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author cw
 * @Date 2022/7/22 - 07 - 22
 * @Description com.ruoyi.worklog.service
 */
public interface WlLeaderMemberService {
    public List<Long> selectMembers(Long leader_id);
    //通过 组员 查组长
    public List<Long> selectLeader(Long member_id);
    //插入
    public int insertLeaderMember(WlLeaderMember wl_leader_member);
    //删除
    public int deleteLeaderMember(long leader_id, long member_id);
    //通过删除ledaerid，则所有关系都删除
    public int deleteLeaderMemberByLeader(long leader_id);
    //
    public int deleteLeaderMemberByMember(long member_id);

    int countLeaderMember(long leader_id,long member_id);
}
